﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FFSupplier.Common
{
    public class PageInfo
    {
        /// <summary>
        /// where条件
        /// </summary>
        public string whereStr { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalItemCount { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageNumber { get; set; }
        /// <summary>
        ///  每页记录数
        /// </summary>
        public int PageSize { get; set; }

        //-----------------------以下自己定义--------------------------//
        /// <summary>
        /// 表名或视图名
        /// </summary>
        public string ViewName { get; set; }
        /// <summary>
        /// 显示字段  select * 
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public string OrderString { get; set; }
        /// <summary>
        /// 索引字段
        /// </summary>
        public string KeyName { get; set; }
        /// <summary>
        /// 查询条件
        /// </summary>
        public string WhereStr { get; set; }
        /// <summary>
        /// 标识ID
        /// </summary>
        public string IdentityId { get; set; }
        /// <summary>
        /// 显示标识
        /// </summary>
        public string IdentityIdName { get; set; }

        public Guid Id { get; set; }
    }
}
